package cn.com.zal.cgweb.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * TcClass entity. @author MyEclipse Persistence Tools
 */

public class TcClass implements java.io.Serializable {

	// Fields

	private Long classId;
	private Long parentClassId;
	private String title;
	private Boolean state;
	

	// Constructors

	/** default constructor */
	public TcClass() {
	}

	/** minimal constructor */
	public TcClass(String title, Boolean state) {
		this.title = title;
		this.state = state;
	}

	/** full constructor */
	public TcClass(Long parentClassId, String title, Boolean state) {
		this.parentClassId = parentClassId;
		this.title = title;
		this.state = state;
		
	}

	// Property accessors

	public Long getClassId() {
		return this.classId;
	}

	public void setClassId(Long classId) {
		this.classId = classId;
	}

	public Long getParentClassId() {
		return this.parentClassId;
	}

	public void setParentClassId(Long parentClassId) {
		this.parentClassId = parentClassId;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Boolean getState() {
		return this.state;
	}

	public void setState(Boolean state) {
		this.state = state;
	}
	
	
}